/* ----------------------------------------------------------------------------
 * Copyright (c) 2008 by Airbus SAS. All rights reserved. All intellectual
 * property rights in and/or in the computer program and its related
 * documentation and technology are the sole Airbus' property. This computer
 * program is under Airbus copyright and cannot be in whole or in part
 * reproduced, sublicensed, leased, sold or used in any form or by any means,
 * including without limitation graphic, electronic, mechanical, photocopying,
 * recording, taping or information storage and retrieval systems without Airbus
 * prior written consent. The downloading, exporting or reexporting of this
 * computer program or any related documentation or technology is subject to any
 * export rules, including US regulations.
 * ----------------------------------------------------------------------------
 */

package com.azzaou.enums;

/**
 * @author moabdi
 *
 */
public enum StatusException
{
  
  /**
   * NO Exception
   */
  NO_EXCEPTION(0),
  /**
   * TECHNICAL_EXCEPTION
   */
  TECHNICAL_EXCEPTION(1),
  /**
   * BUSINESS_EXCEPTION
   */
  BUSINESS_EXCEPTION(2);

  /**
   * value status Exception
   */
  private final int statusException;

  /**
   * StatusException
   * 
   * @param pStatusException
   *            : pStatusException
   */
  private StatusException(int pStatusException)
  {
    this.statusException = pStatusException;
  }

  /**
   * getStatusException
   * 
   * @return statusException
   */
  public int getStatusException()
  {
    return statusException;
  }
}
